<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
    <link rel="stylesheet" href="__PUBLIC__/css/admin.css">
    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>增加内容</strong></div>
    <div class="body-content">

            <div class="panel admin-panel">
                <div class="padding border-bottom">
                    <ul class="search" style="padding-left:10px;">
                        <li> <a class="button border-main icon-plus-square-o" href=""> 添加内容</a> </li>
                        <li>搜索：</li>
                        <li>
                            <select id="s_province" name="s_province" class="input" onchange="changesearch()" style="width:100px; line-height:17px; display:inline-block">
                            </select>
                            &nbsp;&nbsp;
                            推荐
                            <select id="s_city" name="s_city"  class="input" onchange="changesearch()"  style="width:100px; line-height:17px;display:inline-block">
                            </select>
                            &nbsp;&nbsp;
                            置顶
                            <select id="s_county" name="s_county" class="input" onchange="changesearch()"  style="width:100px; line-height:17px;display:inline-block">
                            </select>
                        </li>
                        <script class="resources library" src="__PUBLIC__/area.js" type="text/javascript"></script>



                        <script type="text/javascript">_init_area();</script>
                        <div id="show"></div>
                        <script type="text/javascript">

                            var Gid  = document.getElementById ;

                            var showArea = function(){

                                Gid('show').innerHTML = "<h3>省" + Gid('s_province').value + " - 市" +

                                    Gid('s_city').value + " - 县/区" +

                                    Gid('s_county').value + "</h3>"

                            }

                            Gid('s_county').setAttribute('onchange','showArea()');

                        </script>
                        <li>
                            <select name="cid" class="input" style="width:200px; line-height:17px;" onchange="changesearch()">
                                <option value="">请选择分类</option>
                                <option value="0">我是业主</option>
                                <option value="1">装修公司</option>
                            </select>
                        </li>
                        <li>
                            <input type="text" placeholder="请输入搜索关键字" name="keywords" class="input" style="width:250px; line-height:17px;display:inline-block" />
                            <a href="javascript:void(0)" class="button border-main icon-search" onclick="changesearch()" > 搜索</a></li>
                    </ul>
                </div>
                <form method="post" class="form-x" action="__URL__/xiugai" enctype="multipart/form-data">
                    <div class="form-group">
                        <div class="label">
                            <label>ID：</label>
                        </div>
                        <div class="field">
                            <input type="text" class="input w50" name="id" value="{$arr.id}"/>
                            <div class="tips"></div>
                        </div>
                    </div>
                <div class="form-group">
                    <div class="label">
                        <label>效果图名称：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50" name="title" value="{$arr.title}"/>
                        <div class="tips"></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label>空间：</label>
                    </div>
                    <div class="field">
                        <select name="sid" class="input" style="width:200px; line-height:17px;" onchange="changesearch()">
                            <foreach name="arr1" item="v">
                                <option type="text" class="input w50" value="{$v.sid}" name="sid"/>{$v.sname}</option>
                            </foreach>
                        </select>
                        <div class="tips"></div>
                    </div>
                </div>
                <!--<div class="form-group">-->
                <!--<div class="label">-->
                <!--<label>局部:</label>-->
                <!--</div>-->
                <!--<div class="field">-->
                <!--<select name="jid" class="input" style="width:200px; line-height:17px;" onchange="changesearch()">-->
                <!--<foreach name="jArr" item="v">-->
                <!--<option type="text" class="input w50" value="{$v.jid}" name="jid"/>{$v.jname}</option>-->
                <!--</foreach>-->
                <!--</select>-->
                <!--<div class="tips"></div>-->
                <!--</div>-->
                <!--</div> -->
                <div class="form-group">
                    <div class="label">
                        <label>风格:</label>
                    </div>
                    <div class="field">
                        <select name="fid" class="input" style="width:200px; line-height:17px;" onchange="changesearch()">
                            <foreach name="arr2" item="v">
                                <option type="text" class="input w50" value="{$v.fid}" name="fid"/>{$v.fname}</option>
                            </foreach>
                        </select>
                        <div class="tips"></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label>上传图片：</label>
                    </div>
                    <div class="field">
                        <input type="file" name="imagename" multiple='multiple' />
                        <img width="150" height="150" src="__PUBLIC__/Upload/{$arr.imagename}" alt="">
                        <div class="tips"></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label>操作员：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50" name="operator" value="{$arr.operator}"  />
                        <div class="tips"></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label></label>
                    </div>
                    <div class="field">
                        <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                    </div>
                </div>
        </form>
    </div>
</div>
</body></html>